#!/bin/bash

source /etc/makepkg.conf

PARSE_PKGBUILD_PATH=${PARSE_PKGBUILD_PATH:-/usr/share/namcap}

exec </dev/null
exec /usr/bin/env -i PATH=/dummy CARCH="$CARCH" /bin/bash --norc --noprofile -r "$PARSE_PKGBUILD_PATH"/parsepkgbuild.sh $1
